package it.unicam.cs.cosy.bioshape.core.collisiondetection.broadphase;

import it.unicam.cs.cosy.bioshape.core.components.EntityPair;

import java.util.List;

/**
 * General interface for the broad phase of the collision detection. All the
 * provided broad phase implementations must adhere to this interface.
 * 
 * @author Federico Buti
 */
public interface BroadPhase {
	/**
	 * Return a complete set of the overlapping geometry pairs
	 * 
	 * @return a {@code List} of {@code EntityPair} objects representing couples
	 *         of {@code Entity} objects in collision
	 */
	public List<EntityPair> getOverlappingPairs();
}
